formal argument - определение. Что такое formal argument
Diclib.com
Словарь онлайн

Что (кто) такое formal argument - определение

IN COMPUTER PROGRAMMING, SPECIAL KIND OF VARIABLE THAT HOLDS DATA THAT WAS PASSED AS AN ARGUMENT TO A SUBROUTINE
Argument (computer science); Argument (programming); Parameter (programming); Formal parameter; Actual parameter; Parameters (computer science); Formal parameters; Function parameter; Argument (computing); Parameter (computer science); Parameter (computing); Output parameter; Out parameter; Return parameter; Argument (computer programming); Input parameter; Input value; Output value; Actual parameters

formal argument         
  • Argument terminology
ATTEMPT TO PERSUADE OR TO DETERMINE THE TRUTH OF A CONCLUSION
Philosophical argument; Logical argument; Arguments; Argue; Arguement; ARGUMENTS; Argument from; Pure reasoning; Pattern of reasoning; Argument patterns; List of argument patterns; Argument by analogy; Argument pattern; Arguable; Logical arguments; Argument (logic); Arguing; Machlokes; Formal argument
<programming> (Or "parameter") A name in a function or subroutine definition that is replaced by, or bound to, the corresponding actual argument when the function or subroutine is called. In many languages formal arguments behave like local variables which get initialised on entry. See: argument. (2002-07-02)
argue         
  • Argument terminology
ATTEMPT TO PERSUADE OR TO DETERMINE THE TRUTH OF A CONCLUSION
Philosophical argument; Logical argument; Arguments; Argue; Arguement; ARGUMENTS; Argument from; Pure reasoning; Pattern of reasoning; Argument patterns; List of argument patterns; Argument by analogy; Argument pattern; Arguable; Logical arguments; Argument (logic); Arguing; Machlokes; Formal argument
v.
1) to argue calmly, logically, plausibly, sensibly; heatedly, passionately, strenuously, vehemently
2) (D; intr.) to argue about, over; with (we argued with them about the new law)
3) (d; intr.) to argue against; for (to argue against the amendment; to argue for the new policy)
4) (d; tr.) to argue out of (to argue smb. out of doing smt.)
5) (L) she argued logically that the new regulations would harm the poor
Arguable         
  • Argument terminology
ATTEMPT TO PERSUADE OR TO DETERMINE THE TRUTH OF A CONCLUSION
Philosophical argument; Logical argument; Arguments; Argue; Arguement; ARGUMENTS; Argument from; Pure reasoning; Pattern of reasoning; Argument patterns; List of argument patterns; Argument by analogy; Argument pattern; Arguable; Logical arguments; Argument (logic); Arguing; Machlokes; Formal argument
·adj Capable of being argued; admitting of debate.

Википедия

Parameter (computer programming)

In computer programming, a parameter or a formal argument is a special kind of variable used in a subroutine to refer to one of the pieces of data provided as input to the subroutine. These pieces of data are the values of the arguments (often called actual arguments or actual parameters) with which the subroutine is going to be called/invoked. An ordered list of parameters is usually included in the definition of a subroutine, so that, each time the subroutine is called, its arguments for that call are evaluated, and the resulting values can be assigned to the corresponding parameters.

Unlike argument in usual mathematical usage, the argument in computer science is the actual input expression passed/supplied to a function, procedure, or routine in the invocation/call statement, whereas the parameter is the variable inside the implementation of the subroutine. For example, if one defines the add subroutine as def add(x, y): return x + y, then x, y are parameters, while if this is called as add(2, 3), then 2, 3 are the arguments. Note that variables (and expressions thereof) from the calling context can be arguments: if the subroutine is called as a = 2; b = 3; add(a, b) then the variables a, b are the arguments, not the values 2, 3. See the Parameters and arguments section for more information.

The semantics for how parameters can be declared and how the (value of) arguments are passed to the parameters of subroutines are defined by the evaluation strategy of the language, and the details of how this is represented in any particular computer system depend on the calling convention of that system. In the most common case, call by value, a parameter acts within the subroutine as a new local variable initialized to the value of the argument (a local (isolated) copy of the argument if the argument is a variable), but in other cases, e.g. call by reference, the argument variable supplied by the caller can be affected by actions within the called subroutine.

Примеры употребления для formal argument
1. On one hand, Katsav uses the formal argument of the lack of an indictment to demand the extra benefits normally given to retired presidents, while on the other, he is doing everything he can to evade the legal process completely, or at least to drag it out for many years (during which he would receive the benefits). Only one righteous man is seeking to block this brazen display of contempt toward the public: Oron proposed yesterday that the Finance Committee freeze Katsav‘s benefits until the end of his trial.